<div class="reportNadpis">
    <h3>Relevancia</h3>
</div>
<div class="doThumbs">
    <?php
    if (isset($decision)) {
        if ($decision == 'up') {
            $up = "style=\"background: url(" . base_url() . "css/images/up.png) no-repeat 2px 2px;\"";
            $down = "";
        } else if ($decision == 'down') {
            $up = "";
            $down = "style=\"background: url(" . base_url() . "css/images/down.png) no-repeat 2px 2px;\"";
        }
    } else {
        $up = "";
        $down = "";
    }
    ?>
    <div class="thumbUp" <?= $up ?> >
        <div class="count">LIKE</div>
    </div>

    <div class="thumbDown" <?= $down ?> >
        <div class="count">DISLIKE</div>
    </div>

</div>

<div class="separator">
    <?php if (isset($thumbs_arr)) { ?>
    <div class="up" style="width: <?= $percent_tup ?>%"></div>
    <div class="down" style="width: <?= $percent_dup ?>%"></div>
    <?php } else { ?>
    <div class="none" style="width: 100%"></div>
    <?php } ?>

</div>
<div class="thumbStats">
    Celkom: <?php echo $tups + $dups . " hodnotení";?>
</div>
